/**
 * 
 */
package ru.nagakhl.whirlpool.pool;

import org.apache.cassandra.thrift.Cassandra;
import org.apache.thrift.protocol.TProtocol;

class PooledClient extends Cassandra.Client {
	
	private BlockingConnectionPool home;

	PooledClient(TProtocol arg0, TProtocol arg1, BlockingConnectionPool home) {
		super(arg0, arg1);
		this.home = home;
	}

	public PooledClient(TProtocol arg0, BlockingConnectionPool home) {
		super(arg0);
		this.home = home;
	}

	public BlockingConnectionPool getHome() {
		return home;
	}
	
}